//
//  EntAddressBookContact.h
//  mcrmSAAS
//
//  Created by zhaiqiuqiu on 16/10/23.
//  Copyright © 2016年 com.rs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PinyinSortProtocol.h"

/**
 *  企业通信录对象
 */
@interface EntAddressBookContact : NSObject<PinyinSortProtocol>

@property(nonatomic,strong) XMSNumberInt *userNumber;
@property(nonatomic,strong) NSString *userName;
@property(nonatomic,strong) NSString *loginName;
@property(nonatomic,strong) NSString *logoURL;

@property(nonatomic,strong) NSString *qq;
@property(nonatomic,strong) NSString *tel;
@property(nonatomic,strong) NSString *email;
@property(nonatomic,strong) NSString *mobilePhone;

@property(nonatomic,strong) XMSNumberInt *departmentId;
@property(nonatomic,strong) NSString *departmentName;

@property(nonatomic,strong) NSString *deptGroupId;
@property(nonatomic,strong) NSString *deptGroupName;

@property(nonatomic,strong) NSString *positionJob;

@end

@interface DeptInfo : NSObject<XLGJSONOjectMapDelegate,XMSTableColumnMapDelegate>

@property(nonatomic,strong) XMSNumberInt *deptID;
@property(nonatomic,strong) NSString *fullID;
@property(nonatomic,strong) XMSNumberInt *parentID;
@property(nonatomic,strong) NSString *deptName;
@property(nonatomic,strong) NSString *remark;
@property(nonatomic,strong) NSDate *createDate;
@property(nonatomic,strong) NSString *contactPerson;
@property(nonatomic,strong) NSString *tel;
@property(nonatomic,strong) NSString *address;
@property(nonatomic,strong) NSString *imageSrc;
@property(nonatomic,strong) XMSNumberInt *level;

@end
